package com.maserb.monitor.repository.JwVisitReport;

import com.maserb.monitor.entity.JwReport.JwFileInfoEntity;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface JwFileInfoRepository extends JpaSpecificationExecutor<JwFileInfoEntity>
        , PagingAndSortingRepository<JwFileInfoEntity, String> {
    List<JwFileInfoEntity> findByAssociatedNameAndAssociatedId(String associatedName, String associatedId);
}